projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c10b1c4
)
imx: ventana: Rework CONFIG_CMD_GSC code to not be included in SPL
author
Tom Rini
<
[email protected]
>
Wed, 3 Jan 2018 14:16:29 +0000
(09:16 -0500)
committer
Stefano Babic
<
[email protected]
>
Fri, 12 Jan 2018 13:28:04 +0000
(14:28 +0100)
The command can only be used from full U-Boot, so do not build it into
SPL.
Cc: Stefano Babic <
[email protected]
>
Cc: Fabio Estevam <
[email protected]
>
Cc: Tim Harvey <
[email protected]
>
Signed-off-by: Tom Rini <
[email protected]
>
Acked-by: Tim Harvey <
[email protected]
>
Reviewed-by: Fabio Estevam <
[email protected]
>
board/gateworks/gw_ventana/gsc.c
patch
|
blob
|
history
diff --git
a/board/gateworks/gw_ventana/gsc.c
b/board/gateworks/gw_ventana/gsc.c
index 68b1ddb532e0cf60bd43a1b61f181536609b6ca8..f2a01b84deb29c74a381eacd07a88be40163f79c 100644
(file)
--- a/
board/gateworks/gw_ventana/gsc.c
+++ b/
board/gateworks/gw_ventana/gsc.c
@@
-172,7
+172,7
@@
int gsc_boot_wd_disable(void)
return 1;
}
-#if
def CONFIG_CMD_GSC
+#if
defined(CONFIG_CMD_GSC) && !defined(CONFIG_SPL_BUILD)
static int do_gsc_sleep(cmd_tbl_t *cmdtp, int flag, int argc,
char * const argv[])
{